home *** CD-ROM | disk | FTP | other *** search
- About this tutorial.
-
- The best way to learn about PEP and its capabilities is simply to use it.
- This tutorial is provided as a help in getting started. It takes you
- through three simple exercises in using PEP:
-
- 1. Printing the PEP registration form.
- 2. Creating a new configuration file.
- 3. Drawing a simple picture.
-
- These exercises can be done in any order. In each case, the entire project
- is described keystroke by keystroke. The keys you use are listed in the left
- hand column. On the right, is an explanation of what is being accomplished
- at each step. Here is the notation we will be using:
-
- The symbol: Means:
-
- F(ile) Press the letter F (to execute the FILE command). In PEP,
- you execute a command in a command menu by typing its first
- letter. (You can also click on the command with the mouse.)
- [Enter] Press the ENTER key
- [F9] Press the function key F9
- [Alt-Z] While holding down the Alt key, press the letter Z.
-
- These exercises cover only a small fraction of PEP's capabilities.
- They just provide a representative sample of how PEP operates so that you
- can continue to learn about PEP by experimenting and consulting the manual.
- Proceed slowly through each exercise to be sure you understand the
- explanation at each step.
-
- Before using this tutorial, you must install PEP on your computer according
- to the hardware configuration that you have: the type of display, type of
- printer, etc. The utility INSTALL.EXE will guide you through this. If you
- need more information about installation, see the file CHAPT17.TXT.
-
- Also, be sure to read the file README.DOC.
-
- Probably, your best course is the play with PEP a little before starting
- the exercises below; for example: use the INSERT menu to draw lines and
- add text, then QUIT back to the top menu to use MODIFY and DELETE; use
- FILE/LOAD to look at some of the picture files supplied with PEP, and so
- forth. Having a little familiarity with PEP will help you absorb the
- information given in the exercises.
-
- In order to give predictable results, each exercise assumes that you start
- in your PEP directory and begin by loading PEP from the DOS prompt. Also,
- the mouse is ignored; each step is preformed from the keyboard. In fact,
- however, PEP supports both methods of input equally.
-
-
- Exercise 1: Printing the PEP Registration Form.
-
- Go to your PEP directory, and begin by typing "PEP" at the DOS prompt. When
- PEP is loaded, the first menu that you see is called the top menu.
-
- F(ile) Go to the FILE menu (used to access pictures on disk).
- L(oad) Display an alphabetized menu of picture files.
- REGISTER The file we want is REGISTER.PDL. As you type, the menu high-
- [Enter] light moves to the first menu item matching what has been
- typed so far. When the required file is reached, you can
- press the ENTER key to load it. Actually, in this case, only
- the first letter and ENTER are required. A PDL file holds
- 1 or more pictures or OBJECTS. This file has a MAIN object
- which is automatically opened (i.e. displayed for editing).
- You are now displaying (part of) the registration form.
-
- At this point, you might want to experiment with the keys
- [Alt-C], [Alt-E], [Alt-T], [Alt-W] and the combinations of
- Shift + the arrow keys, to see how these can be used to
- display more or less of a picture and navigate around it.
- (There are also buttons in the button window for accessing
- each of these functions if you have a mouse.) Using these
- keys will not affect the steps that follow.
-
- Q(uit) Return from the FILE menu to the top menu.
- P(rint) Go to the PRINT menu.
- C(enter) Enable horizontal centering. We will print the form at the
- top of the page but centered left and right. Note that the
- menu item contains current status information; it has changed
- from "Center NO" to "Center X".
- Now make sure your printer is turned on, warmed up, on-line
- and ready to print.
- G(o) Start printing. Here again, the menu item shows status
- information; in this case the number of print jobs
- scheduled. Printing takes place in the background.
- Q(uit) Return from the PRINT menu to the top menu.
- Wait here until printing is completed. (You cannot exit
- from PEP while print jobs are active.)
- Q(uit) Go to the QUIT menu.
- E(xit) Exit from PEP back to DOS.
-
- Notes:
-
- You may now want to use the method given above to print out the files
- PEPMENU.PDL (which contains charts of the principal PEP menus - these charts
- were created by Trionum's org chart maker, ORCHIS) and PEPKEY.PDL (which
- provides a keyboard template for the function keys, control keys, and
- alt-letter keys available in PEP). For printing PEPKEY, we recommend using:
-
- P(rint)
- R(otation)
- 2(70 degrees) to print in landscape orientation.
-
- Also, if these pictures do not naturally fit on one printer page (which will
- depend on the resolution of your printer), you will see the menu:
-
- Shrink (Shrink to fit on one page)
- Multi-page (Print on as many pages as required)
- Truncate (Truncate after the first page)
- Cancel (Cancel the print request)
-
- If this happens, choose either S(hrink) or M(ulti-page) as you prefer.
-
- Exercise #2: creating a configuration file.
-
- You can create custom configurations for PEP if you want to use a different
- screen layout, different graphic default values, a different pattern file,
- and so forth. Configurations are kept in files with the extension FIG.
- These ASCII files simply contain the captured keystrokes that you would type
- into PEP to produce the desired effects.
-
- In this simple exercise, we will create a new configuration that displays
- rulers and grid lines (at 1/4 printer inch spacing) in the main edit window.
-
- In your PEP directory, type "PEP" at the DOS prompt, then:
-
- Q(uit) Go into the Quit menu.
- M(akefig) Start making a new configuration file,
- TEST (which we will call TEST.FIG).
- [Enter]
- AUTO Starting out using the normal default configuration
- [Enter] (which is called AUTO.FIG).
- Now PEP is started up again using that configuration file
- and everything that happens until the [Alt-Z] below
- will be captured into the TEST.FIG file we are building.
- S(etup) Go to the Setup menu.
- W(indow) Go to the Setup/Window sub-menu.
- R(ulers) Enable ruler display.
- G(rid) Enable grid display.
- Q(uit) Go to the
- N(umbers) Setup/Numbers menu.
- G(rid-space) Change the grid spacing to
- X1/4i 1/4 inch horizontally
- [Enter]
- Y1/4i and 1/4 inch vertically
- [Enter]
- [F10] Go back to the top menu.
- [Alt-Z] End creation of the configuration file, and save it to disk.
- Q(uit)
- E(xit) Exit from PEP.
-
- Now if you load PEP by typing the following at the DOS prompt:
-
- PEP /F=TEST
-
- PEP will be loaded using this new configuration file. If you wanted,
- you could use DOS to give AUTO.FIG a new name, and to rename TEST.FIG
- as AUTO.FIG. Then this new configuration would be used automatically
- whenever PEP was invoked.
-
- Notes:
-
- There is a section in CHAPT16.TXT (Hints, Tricks and Warnings) on using
- the configuration file capability to create slide shows with PEP (like
- the VGASLIDE.FIG file that comes with PEP).
-
- You can use the [Alt-G] and [Alt-R] keys (or the G-button and R-button
- in the button window) as faster substitutes for the Setup/Window/Grid
- and Setup/Window/Rulers commands used above. Many PEP functions have
- such single keystroke alternatives. These are described in CHAPT14.TXT
- and shown in the keyboard template PEPKEY.PDL.
-
- Exercise #3: Drawing a simple picture.
-
- In this exercise we will draw a "keep away from magnetic fields" icon
- (as you might print on an envelope for mailing floppy disks). This is
- an easy task, as we need only combine two pictures supplied in the
- symbol files that are part of PEP.
-
- In your PEP directory, type "PEP" at the DOS prompt, then:
-
- O(bject) First, we grab two objects from existing files by
- I(mport) using the Object/Import menu.
- F(ile) From the file SYMBOL1.PDL,
- SYMBOL1
- [Enter]
- O(bject) import the object MAGNET (a picture of a magnet).
- MAGNET
- [Enter]
- F(ile) From the file SYMBOL2.PDL,
- SYMBOL2
- [Enter]
- O(bject) import the object NO (the international don't-do-it
- NO symbol).
- [Enter]
- [F10] Return to the top menu.
- I(nsert) Go to the Insert menu.
- O(bject) Display a menu of the available objects.
- MAGNET Select the magnet object.
- [Enter] (A cross-hair cursor is displayed here.)
- [F9] Move the cursor to the upper left of the editing area.
- [Enter] Insert the magnet object.
- O(bject) Display the list of objects again.
- NO This time select the NO object,
- [Enter]
- [Enter] and insert that at the same location.
- Now we want the NO object to be perhaps 50% bigger so that
- the magnet can be fully visible in the center so:
- M(odify) Modify the element just inserted.
- S(tretch) Change its stretches:
- X3/2 change the horizontal stretch from 1 to 3/2 (or 1.5)
- [Enter]
- Y3/2 do the same to the vertical stretch
- [Enter]
- C(olor) Also change its color
- 1(-red) to red.
- [F10] Return to the top menu
- Now we need to center the magnet inside the NO object.
- This could be done using Modify/Move and the mouse,
- but the easiest way is:
- C(ollect) Go to the Collect menu.
- A(ll) Collect everything in the picture (in this case there are only
- two elements).
- G(roup) Combine these two into a single group element and display
- a menu for modifying groups.
- A(lign) Go to the Modify-group/Align menu.
- C(enter) Center the group components horizontally,
- M(iddle) and vertically.
- Q(uit) Back to the Modify-group menu.
- E(xplode) Break the group apart into its two elements (and return to
- the top menu).
-
-
- Our picture is now complete, so:
- O(bject) Go to the Object menu.
- C(lose) Close the object (i.e. stop editing and remove the display)
- NO-MAGS and give it the name, NO-MAGS.
- [Enter]
- Q(uit)
- F(ile) Go to the FILE menu so that we can save this picture
- S(ave) to a file on disk
- TEST which we will call TEST.PDL
- [Enter]
- Q(uit) Return to the top menu.
-
- O(bject) To print the object: use Object/Open to display it again.
- O(pen)
- NO-MAGS
- [Enter]
- Q(uit)
- P(rint) Go to the print menu. Make sure your printer is ready.
- G(o) Start printing.
- Q(uit)
- Wait for printing to complete.
- Q(uit)
- E(xit) Exit from PEP.
-
- Notes:
-
- You will notice that there are two objects, BOX and CIRCLE, always available
- in addition to the ones you draw yourself or import from other files. This
- is discussed in the section "Default Object Definitions" in CHAPT16.TXT.
-
- Instead of using Object/Import to bring in objects from other files, you
- could just as well start with the Insert/Object command, and then select
- the "\Import\" option from the menu of available objects.
-
-